<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
 
//global $_redis_conf;
$_redis_conf = array('host'=>"127.0.0.1",'port'=>6379);

if(strpos($_SERVER['HTTP_HOST'], 'oschina.mopaas.com') !== FALSE ){
    $_redis_conf=array('host'=>"10.4.7.20",'port'=>5143,'pwd'=>'7decb838-b157-4b5e-9201-2349eccb1489');
}